import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
const Login = () => import('@/views/login.vue')
const sCusList = () => import('@/views/sale/sCusList.vue')
const newCus = () => import('@/views/sale/newCus.vue')
const cusDetail = () => import('@/views/sale/cusDetail.vue')
const test = () => import('@/views/test.vue')

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Login
    },
    {
      path: '/test',
      component: test
    },
    {
      path: '/newCus',
      component: newCus
    },
    {
      path: '/sCusList',
      component: sCusList
    },
    {
      path: '/cusDetail',
      component: cusDetail
    }
  ]
})
